<template>
  <view>
    <uni-list :border="true">
      <!-- 显示圆形头像 -->
      <uni-list-chat v-for="item in ctx.list.value" :title="item.code"
        :avatar="item.info.logo"
        :note="item.phenomenon">
        <view>
          <button open-type="" hover-class="button-hover" @click="() => ctx.cat(item)">
            查看
          </button>
        </view>
      </uni-list-chat>
    </uni-list>
  </view>
</template>
<script setup lang="ts">

import { MainContext } from '../scripts/MainContext'

const ctx = MainContext.inject()



</script>